#  This material contains proprietary software of Entropic Speech, Inc.   
#  Any reproduction, distribution, or publication without the the prior	   
#  written permission of Entropic Speech, Inc. is strictly prohibited.
#  Any public distribution of copies of this work authorized in writing by
#  Entropic Speech, Inc. must bear the notice:
# 								
#      "Copyright (c) 1987 Entropic Speech, Inc.; All rights reserved"
# 				
#  @(#)Makefile	1.4	11/24/87 ESI

CFLAGS = -g $(PROGCFLAGS)

OBJS = qlsf.o

SRCS = qlsf.c

qlsf:	$(OBJS) $(SPSLIB)
	cc $(CFLAGS) $(OBJS) $(SPSLIB) -lm -o qlsf

qlsf.o:		$(SINC)/esps.h $(SINCL)/feaquant.h table.h

install: qlsf
	-strip qlsf
	-mv -f $(BINDIR)/qlsf $(OLDBIN)/qlsf
	-chmod $(PROGMOD) $(OLDBIN)/qlsf
	mv qlsf $(BINDIR)/qlsf
	-strip $(BINDIR)/qlsf
	chmod $(PROGMOD) $(BINDIR)/qlsf
	-diffmk  $(MANDIR)/man1/qlsf.1 qlsf.1 man.diff
	@echo diffmked man page left in man.diff
	cp qlsf.1 $(MANDIR)/man1/qlsf.1
	chmod $(MANMOD) $(MANDIR)/man1/qlsf.1

clean:
	rm -f $(OBJS) qlsf

lint:	$(SRCS)
	$(LINT) $(LINTFLAGS)  $(SRCS) $(LINTLIB) -lm > lint
